﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProtocolConversion_WINCE
{
    class PowerPressure
    {

        public static void SegmentMessage(byte[] date, int length, string cmd)
        {
             //if (Form1.CompareDate(Converter.TakeOutByteNoOrder(date, length - 2, 2), Form1.CalculateCheckByte(date)))
              
             //将数据填充到协议当中
             Form1.FillDate(Converter.TakeOutByteNoOrder(date, 10, 2), 12, 2);

        }
    }
}
